Aggregate<'State, 'Command, 'Event>Record

PackageFCQRS
A pure aggregate definition: the four things that define an event-sourced aggregate. No wiring, no IActor.

Fields

NameTypeDescription
NameNameNo description available.
InitialInitialNo description available.
DecideDecidehandleCommand (decide): command + current state -> what to do.
FoldFoldapplyEvent (fold): event + current state -> next state (pure).
SnapshotsSnapshotsSnapshot cadence: Default (config / 30), NoSnapshots, or Every n.
PassivationPassivationIdle passivation: PassivationPolicy.Default (configuration, then Akka's 120s), After an idle period, or Never.